<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_2306935_k9mvggy652.css">
    <link rel="stylesheet" type="text/css" href="./static/css/base.css">
    <link rel="shortcut icon" href="/static/img/logo.png">
    <title>报关易</title>
</head>

<body>
    <div id="bgy-app">
        <transition name="fade-transform" mode="out-in">
            <router-view></router-view>
        </transition>
    </div>
    <!-- built files will be auto injected -->
</body>

</html>
<style>
    /* 
enter-active 定义进入过渡的结束状态
leave-active 定义离开过渡的结束状态
 */
    
    .fade-transform-leave-active,
    .fade-transform-enter-active {
        transition: all 0.5s;
    }
    /* 
enter定义进入过渡的开始状态
 */
    
    .fade-transform-enter {
        opacity: 0;
        transform: translateX(-30px);
    }
    /* 
leave-to离场动画结束后的状态
 */
    
    .fade-transform-leave-to {
        opacity: 0;
        transform: translateX(30px);
    }
</style>